//
//  UIView+SafeBoundary.h
//  mobile
//
//  Created by abc on 2019/1/14.
//  Copyright © 2019 azazie. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <Masonry/Masonry.h>

NS_ASSUME_NONNULL_BEGIN

@interface UIView (SafeBoundary)

/**
 //Masonry适配安全区域
 */
@property (nonatomic, assign, readonly) MASViewAttribute *top;
@property (nonatomic, assign, readonly) MASViewAttribute *left;
@property (nonatomic, assign, readonly) MASViewAttribute *bottom;
@property (nonatomic, assign, readonly) MASViewAttribute *right;

/**
 底部的安全区域间距
 warning: 必须APP启动后才能获取
 */
@property (nonatomic, assign, readonly) CGFloat safeBottonDistance;

@end

NS_ASSUME_NONNULL_END
